<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Blog extends CI_Controller
{
	function __construct()
	{
		parent::__construct();

		$this->load->helper('url');
		$this->load->library('tank_auth');
	}

	function index()
	{
		//$data = $this->posts->get_posts()
		$this->load->view('template/html_head',$data);
		$this->load->view('posts/index', $data);
		$this->load->view('template/html_tail',$data);
	}
}

/* End of file blog.php */
/* Location: ./application/controllers/blog.php */
